package deck.dto;

public class OrderDTO {
	
/*

	O_NO NUMBER PRIMARY KEY,
	U_ID VARCHAR2(40) NOT NULL,
	U_NAME VARCHAR2(40) NOT NULL,
	U_PHONE VARCHAR2(40) NOT NULL,
	U_CELLPHONE VARCHAR2(40) NOT NULL,
	U_ZIPCODE VARCHAR2(40) NOT NULL,
	U_ADDR1 VARCHAR2(100) NOT NULL,
	U_ADDR2 VARCHAR2(100) NOT NULL,
	O_COMMENT VARCHAR2(100) NOT NULL

 */

	private int o_no;
	private String u_id;
	private String u_name;
	private String u_phone;
	private String u_cellphone;
	private String u_zipcode;
	private String u_addr1;
	private String u_addr2;
	private String o_comment;
	
	public OrderDTO() {
		// TODO Auto-generated constructor stub
	}


	public OrderDTO(int o_no, String u_id, String u_name, String u_phone,
			String u_cellphone, String u_zipcode, String u_addr1,
			String u_addr2, String o_comment) {
		super();
		this.o_no = o_no;
		this.u_id = u_id;
		this.u_name = u_name;
		this.u_phone = u_phone;
		this.u_cellphone = u_cellphone;
		this.u_zipcode = u_zipcode;
		this.u_addr1 = u_addr1;
		this.u_addr2 = u_addr2;
		this.o_comment = o_comment;
	}


	@Override
		public String toString() {
			return o_no + "\t" + u_id + "\t" + u_name + "\t"
					+ u_phone + "\t" + u_cellphone + "\t" + u_zipcode + "\t"
					+ u_addr1 + "\t" + u_addr2 + "\t" + o_comment;
		}


	public int getO_no() {
		return o_no;
	}


	public void setO_no(int o_no) {
		this.o_no = o_no;
	}


	public String getU_id() {
		return u_id;
	}


	public void setU_id(String u_id) {
		this.u_id = u_id;
	}


	public String getU_name() {
		return u_name;
	}


	public void setU_name(String u_name) {
		this.u_name = u_name;
	}


	public String getU_phone() {
		return u_phone;
	}


	public void setU_phone(String u_phone) {
		this.u_phone = u_phone;
	}


	public String getU_cellphone() {
		return u_cellphone;
	}


	public void setU_cellphone(String u_cellphone) {
		this.u_cellphone = u_cellphone;
	}


	public String getU_zipcode() {
		return u_zipcode;
	}


	public void setU_zipcode(String u_zipcode) {
		this.u_zipcode = u_zipcode;
	}


	public String getU_addr1() {
		return u_addr1;
	}


	public void setU_addr1(String u_addr1) {
		this.u_addr1 = u_addr1;
	}


	public String getU_addr2() {
		return u_addr2;
	}


	public void setU_addr2(String u_addr2) {
		this.u_addr2 = u_addr2;
	}


	public String getO_comment() {
		return o_comment;
	}


	public void setO_comment(String o_comment) {
		this.o_comment = o_comment;
	}
	

	/*
	 * Getter & Setter
	 */
	}
